export const STYLE = {
  fontSizes: [8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32],
  fontSizesObj: ['8px', '10px', '12px', '14px', '16px', '18px', '20px', '22px', '24px', '26px', '28px', '30px', '32px'],
  fontFamilys: ['微软雅黑', '黑体', '宋体', '仿宋', '楷体', 'serif', 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei'],
  fontBold: {
    normal: 'normal',
    lighter: 'lighter',
    bold: 'bold',
    bolder: 'bolder',
  },
  fontStyle: {
    normal: 'normal',
    italic: 'italic',
  },
  textDecoration: {
    none: 'none',
    underline: 'underline',
    overline: 'overline',
    lineThrough: 'line-through',
  },
  borderWidths: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
  predefineColors: [
    '#333333',
    '#ff4500',
    '#ff8c00',
    '#ffd700',
    '#90ee90',
    '#00ced1',
    '#1e90ff',
    '#c71585',
    'rgba(255, 69, 0, 0.68)',
    'rgb(255, 120, 0)',
    'hsv(51, 100, 98)',
    'hsva(120, 40, 94, 0.5)',
    'hsl(181, 100%, 37%)',
    'hsla(209, 100%, 56%, 0.73)',
    '#c7158577'
  ],
  colors: ['#80FFA5', '#00DDFF', '#37A2FF', '#FF0087', '#FFBF00', '#cf62d7', '#5e78ea', '#51b3f0', '#69d4dc', '#49b788', '#9ccc66', '#ffdb03', '#c18c00', '#363636',
    '#426fb3', '#66bf7f', '#f9cd76', '#392884', '#00ae71', '#93aad6', '#490761', '#faf14b', '#955305', '#016241', '#7388c1', '#490761', '#8f1e20', '#d69b01', '#99d0b9', '#c7c300',
    '#04b1c2', '#99d0b9', '#c7c300', '#ffbf53', '#04b1c2', '#f07474', '#c55784', '#9a5fb3', '#5e78ea', '#51b3f0', '#69d4dc', "#ffbf53", "#04b1c2", "#f07474", "#c55784", "#9a5fb3", "#cf62d7", "#5e78ea", "#51b3f0", "#69d4dc", "#49b788", "#9ccc66", "#ffdb03", "#c18c00", "#363636", "#426fb3", "#66bf7f", "#f9cd76", "#392884", "#00ae71", "#93aad6", "#490761", "#faf14b", "#955305", "#016241", "#7388c1", "#8f1e20", "#d69b01", "#b7b7b7", "#511f90", "#99d0b9", "#c7c300", '#C1232B', '#B5C334', '#FCCE10', '#E87C25', '#27727B', '#FE8463', '#9BCA63', '#FAD860', '#F3A43B', '#60C0DD', '#D7504B', '#C6E579', '#F4E001', '#F0805A', '#26C0C0', '#FFB6C1', '#FFC0CB', '#DC143C', '#FFF0F5', '#DB7093', '#FF69B4', '#FF1493', '#C71585', '#DA70D6', '#D8BFD8', '#DDA0DD', '#EE82EE', '#FF00FF', '#FF00FF', '#8B008B', '#800080', '#BA55D3', '#9400D3', '#9932CC', '#4B0082', '#8A2BE2', '#9370DB', '#7B68EE', '#6A5ACD', '#483D8B', '#E6E6FA', '#F8F8FF', '#0000FF', '#0000CD', '#191970', '#00008B', '#000080', '#4169E1', '#6495ED', '#B0C4DE', '#778899', '#708090', '#1E90FF', '#F0F8FF', '#4682B4', '#87CEFA', '#87CEEB', '#00BFFF', '#ADD8E6', '#B0E0E6', '#5F9EA0', '#F0FFFF', '#E1FFFF', '#AFEEEE', '#00FFFF', '#D4F2E7', '#00CED1', '#2F4F4F', '#008B8B', '#008080', '#48D1CC', '#20B2AA', '#40E0D0', '#7FFFAA', '#00FA9A', '#00FF7F', '#F5FFFA', '#3CB371', '#2E8B57', '#F0FFF0', '#90EE90', '#98FB98', '#8FBC8F', '#32CD32', '#00FF00', '#228B22', '#008000', '#006400', '#7FFF00', '#7CFC00', '#ADFF2F', '#556B2F', '#F5F5DC', '#FAFAD2', '#FFFFF0', '#FFFFE0', '#FFFF00', '#808000', '#BDB76B', '#FFFACD', '#EEE8AA', '#F0E68C', '#FFD700', '#FFF8DC', '#DAA520', '#FFFAF0', '#FDF5E6', '#F5DEB3', '#FFE4B5', '#FFA500', '#FFEFD5', '#FFEBCD', '#FFDEAD', '#FAEBD7', '#D2B48C', '#DEB887', '#FFE4C4', '#FF8C00', '#FAF0E6', '#CD853F', '#FFDAB9', '#F4A460', '#D2691E', '#8B4513', '#FFF5EE', '#A0522D', '#FFA07A', '#FF7F50', '#FF4500', '#E9967A', '#FF6347', '#FFE4E1', '#FA8072', '#FFFAFA', '#F08080', '#BC8F8F', '#CD5C5C', '#FF0000', '#A52A2A', '#B22222', '#8B0000', '#800000', '#FFFFFF', '#F5F5F5', '#DCDCDC', '#D3D3D3', '#C0C0C0', '#A9A9A9', '#808080', '#696969', '#000000'],
}
export const colorDefault = [
  {
    id: 2,
    colorList: [
      '#80FFA5',
      '#00DDFF',
      '#37A2FF',
      '#FF0087',
      '#FFBF00',
      '#cf62d7',
      '#80FFA5',
      '#00DDFF',
      '#37A2FF',
      '#FF0087',
      '#FFBF00',
      '#cf62d7',
      '#5e78ea',
      '#51b3f0',
      '#69d4dc',
      '#49b788',
      '#9ccc66',
      '#ffdb03',
      '#c18c00',
      '#363636'
    ],
    label: '配色方案1'
  },
  {
    id: 3,
    colorList: [
      '#04b1c2',
      '#ffbf53',
      '#f07474',
      '#c55784',
      '#9a5fb3',
      '#00ccdf',
      '#426fb3',
      '#66bf7f',
      '#f9cd76',
      '#392884',
      '#00ae71',
      '#93aad6',
      '#490761',
      '#faf14b',
      '#955305',
      '#016241',
      '#7388c1',
      '#490761',
      '#8f1e20',
      '#d69b01'
    ],
    label: '配色方案2'
  },
  {
    id: 4,
    colorList: [
      '#55b83a',
      '#8acf7b',
      '#c3e7bd',
      '#56c050',
      '#72cd75',
      '#0482dc',
      '#99d0b9',
      '#c7c300',
      '#04b1c2',
      '#99d0b9',
      '#c7c300',
      '#ffbf53',
      '#04b1c2',
      '#f07474',
      '#c55784',
      '#9a5fb3',
      '#5e78ea',
      '#51b3f0',
      '#69d4dc',
      '#ffbf53'
    ],
    label: '配色方案3'
  }
]

export const TBLSTYLE = {
  hffamily: '',
  hfsize: '12',
  hfposition: 'center',
  hfstyle: {
    bold: false,
    italic: false,
    underline: false,
    color: ''
  },
  hHeight: 32,
  hLineFeed: false,
  bffamily: '',
  bfsize: '12',
  bfDimposition: '',
  bfAimposition: 'right',
  bfstyle: {
    bold: false,
    italic: false,
    underline: false,
    color: ''
  },
  bHeight: 32,
  bLineFeed: false,
  styleType: 1,
  styleStyle: 1,
  theme: 2,
  background: {}
}

export const TBLTHEME = {
  1: {
    hbg: '#cde1fc',
    bbgEven: '#F2F7FE',
    bbgOdd: '#FAFCFF',
    hcolor: '#333',
    heji: '#E6F0FD'
  },
  2: {
    hbg: '#00AA91',
    bbgEven: '#F5FCFB',
    bbgOdd: '#EBF8F6',
    hcolor: '#fff',
    heji: '#D9F2EF'
  },
  3: {
    hbg: '#dd4c4b',
    bbgEven: '#FDF2F1',
    bbgOdd: '#FEF8F8',
    hcolor: '#fff',
    heji: '#FAE4E4'
  }
}